﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.Master" AutoEventWireup="true" CodeBehind="AgregarEscuela.aspx.cs" Inherits="vudu.PaginasWeb.G8Escuela.AgregarEscuela" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style13
        {
            text-align: center;
            width: 282px;
        }
        .style14
        {
            width: 251px;
            text-align: center;
        }
        
        .style16
        {
            text-align: center;
            width: 403px;
            font-size: x-large;
            color: #003399;
            background-color: #FFFFFF;
        }
        .style25
        {
            width: 179px;
        }
        .style22
        {
            color: #0000FF;
            text-align: center;
        }
        .style23
        {
            text-align: center;
        }
        .style31
        {
            width: 193px;
            color: #000000;
        }
        .style26
        {
            width: 271px;
        }
        .style30
        {
            width: 179px;
            color: #0000FF;
        }
        .style29
        {
            width: 271px;
            color: #0000FF;
        }
        .style32
        {
            width: 179px;
            color: #000000;
        }
        .style47
        {
            width: 174px;
        }
        .style51
        {
            text-align: center;
            width: 215px;
        }
        .style52
        {
            color: #FF0000;
        }
        .style54
        {
            width: 210px;
        }
        .style55
        {
            height: 50px;
            width: 210px;
        }
        .style58
        {
            text-align: center;
            width: 403px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset style="color: #000000">    
    
        <table style="width:100%;">
            <tr>
                <td>
                    <a class="miga" href="/PaginasWeb/Home/HomeUniversidad.aspx">Inicio</a>&gt; <a class="miga" href="GestionarEscuela.aspx">Gestionar Escuela</a> &gt; Agregar 

                    Escuela&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <td align="right">
                    <asp:Label 
                        ID="Usuario" runat="server"  CssClass="migaActual"></asp:Label>
                </td>
            </tr>
        </table>
        <table style="width:100%;">
            <tr>
                <td class="style14">
                </td>
                <td class="style58" style="font-size: x-large">
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="style14">
                    &nbsp;</td>
                <td class="tituloGeneral">
                    <strong>Gestionar Escuela</strong></td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style14">
                    &nbsp;</td>
                <td class="subtituloGeneral">
                    Agregar Escuela</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style14">
                    &nbsp;</td>
                <td class="style58">
        <div id="MensajeFinal" class="transaccionExitosa" runat="server"> La Escuela se ha insertado con Exito!</div>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style14">
                    &nbsp;</td>
                <td class="style58">
        <div id="MensajeError" class="transaccionFallida" runat="server"> Ha Ocurrido un error Insertando la Escuela, por favor verifique los Datos</div>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
        <table style="width:100%;">
            <tr>
                <td>
    <fieldset><legend>Informacion Escuela&nbsp;</legend>
        <table>
            <tr>
                <td class="style25"></td>
                <td class="style22" colspan="2">
                    &nbsp;</td>
                <td style="width: 215px" class="style13">&nbsp;</td>
            </tr>
            <tr>
                <td class="style25"></td>
                <td class="style23" colspan="2">
                    &nbsp;</td>
                <td style="width: 215px" class="style13">&nbsp;</td>
            </tr>
            <tr>
                <td class="style25"><br class="style13" /></td>
                <td class="style31">
                    <span class="style52">*</span>Nombre:</td>
                <td class="style26">
                    <asp:TextBox ID="nombre" runat="server" Width="262px" MaxLength="30"></asp:TextBox>
                    <asp:Label ID="MensajeNombreEscuela" runat="server" Text="Este campo es obligatorio" 
                              CssClass="mensaje" Visible="False"></asp:Label>
                    <br />
                </td>
                <td style="width: 215px" class="style13">&nbsp;</td>
            </tr>
            <tr>
                <td class="style30">&nbsp;</td>
                <td class="style31">
                    <span class="style52">*</span>Descripcion:</td>
                <td class="style29">
                    <asp:TextBox ID="Descripcion" runat="server" Height="68px" Width="264px" 
                        MaxLength="700"></asp:TextBox>
                    <asp:Label ID="MensajeDescripcionEscuela" runat="server" Text="Este campo es obligatorio" 
                              CssClass="mensaje" Visible="False"></asp:Label>
                    <br />
                </td>
                <td style="width: 215px" class="style13">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style32">&nbsp;</td>
                <td class="style31">
                    <span class="style52">*</span>Director:</td>
                <td class="style29">
                    <asp:TextBox ID="Director" runat="server" Width="261px" 
                        style="margin-bottom: 0px" MaxLength="100"></asp:TextBox>
                    <asp:Label ID="MensajeDirectorEscuela" runat="server" Text="Este campo es obligatorio" 
                        CssClass="mensaje" Visible="False"></asp:Label>
                    <br />
                </td>
                <td style="width: 215px" class="style13">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style32"></td>
                <td class="style31">
                    <span class="style52">*</span>Telefono:</td>
                <td class="style29">
                    <asp:TextBox ID="Telefono" runat="server" style="margin-right: 6px" 
                        Width="261px" MaxLength="15"></asp:TextBox>
                    <asp:Label ID="MensajeTelefonoEscuela" runat="server" Text="Este campo es obligatorio" 
                        CssClass="mensaje" Visible="False"></asp:Label>
                    <br />
                </td>
                <td class="style51">
                    </td>
            </tr>
            <tr>
                <td class="style32">&nbsp;</td>
                <td class="style31">
                    <span class="style52">*</span>Direccion:</td>
                <td class="style29">
                    <asp:TextBox ID="Direccion" runat="server" Width="261px" Height="68px" 
                        MaxLength="700"></asp:TextBox>
                    <asp:Label ID="MensajeDireccionEscuela" runat="server" Text="Este campo es obligatorio" 
                              CssClass="mensaje" Visible="False"></asp:Label>
                    <br />
                </td>
                <td style="width: 215px" class="style13">
                    &nbsp;</td>
            </tr>
            </table>
    <br />
</fieldset></td>

            </tr>           
        </table>
        <table style="width:100%;">
            <tr>
                <td>
        <table style="width:100%;">
            <tr>
                <td class="style54">
                    &nbsp;</td>
                 <td class="style55" align="center">
                 <asp:Button ID="Button1" runat="server" Text="Cancelar" CssClass="boton" />
                    
                </td>
                <td class="style55" align="center">
                    <asp:Button ID="Button2" runat="server" Text="Aceptar" CssClass="boton" 
                    onclick="IngresarUnaEscuela" ValidationGroup="a" Width="77px" />

                </td>
                <td class="style47">
                    &nbsp;</td>
            </tr>
        </table>
                </td>
            </tr>
        </table>
    <br />
    </fieldset>
</asp:Content>
